package com.ttbj.truck.bean.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TruckExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TruckExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTruckIdIsNull() {
            addCriterion("truck_id is null");
            return (Criteria) this;
        }

        public Criteria andTruckIdIsNotNull() {
            addCriterion("truck_id is not null");
            return (Criteria) this;
        }

        public Criteria andTruckIdEqualTo(Long value) {
            addCriterion("truck_id =", value, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdNotEqualTo(Long value) {
            addCriterion("truck_id <>", value, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdGreaterThan(Long value) {
            addCriterion("truck_id >", value, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdGreaterThanOrEqualTo(Long value) {
            addCriterion("truck_id >=", value, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdLessThan(Long value) {
            addCriterion("truck_id <", value, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdLessThanOrEqualTo(Long value) {
            addCriterion("truck_id <=", value, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdIn(List<Long> values) {
            addCriterion("truck_id in", values, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdNotIn(List<Long> values) {
            addCriterion("truck_id not in", values, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdBetween(Long value1, Long value2) {
            addCriterion("truck_id between", value1, value2, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckIdNotBetween(Long value1, Long value2) {
            addCriterion("truck_id not between", value1, value2, "truckId");
            return (Criteria) this;
        }

        public Criteria andTruckNumIsNull() {
            addCriterion("truck_num is null");
            return (Criteria) this;
        }

        public Criteria andTruckNumIsNotNull() {
            addCriterion("truck_num is not null");
            return (Criteria) this;
        }

        public Criteria andTruckNumEqualTo(String value) {
            addCriterion("truck_num =", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumNotEqualTo(String value) {
            addCriterion("truck_num <>", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumGreaterThan(String value) {
            addCriterion("truck_num >", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumGreaterThanOrEqualTo(String value) {
            addCriterion("truck_num >=", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumLessThan(String value) {
            addCriterion("truck_num <", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumLessThanOrEqualTo(String value) {
            addCriterion("truck_num <=", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumLike(String value) {
            addCriterion("truck_num like", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumNotLike(String value) {
            addCriterion("truck_num not like", value, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumIn(List<String> values) {
            addCriterion("truck_num in", values, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumNotIn(List<String> values) {
            addCriterion("truck_num not in", values, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumBetween(String value1, String value2) {
            addCriterion("truck_num between", value1, value2, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckNumNotBetween(String value1, String value2) {
            addCriterion("truck_num not between", value1, value2, "truckNum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumIsNull() {
            addCriterion("truck_carnum is null");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumIsNotNull() {
            addCriterion("truck_carnum is not null");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumEqualTo(String value) {
            addCriterion("truck_carnum =", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumNotEqualTo(String value) {
            addCriterion("truck_carnum <>", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumGreaterThan(String value) {
            addCriterion("truck_carnum >", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumGreaterThanOrEqualTo(String value) {
            addCriterion("truck_carnum >=", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumLessThan(String value) {
            addCriterion("truck_carnum <", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumLessThanOrEqualTo(String value) {
            addCriterion("truck_carnum <=", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumLike(String value) {
            addCriterion("truck_carnum like", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumNotLike(String value) {
            addCriterion("truck_carnum not like", value, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumIn(List<String> values) {
            addCriterion("truck_carnum in", values, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumNotIn(List<String> values) {
            addCriterion("truck_carnum not in", values, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumBetween(String value1, String value2) {
            addCriterion("truck_carnum between", value1, value2, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckCarnumNotBetween(String value1, String value2) {
            addCriterion("truck_carnum not between", value1, value2, "truckCarnum");
            return (Criteria) this;
        }

        public Criteria andTruckTypeIsNull() {
            addCriterion("truck_type is null");
            return (Criteria) this;
        }

        public Criteria andTruckTypeIsNotNull() {
            addCriterion("truck_type is not null");
            return (Criteria) this;
        }

        public Criteria andTruckTypeEqualTo(Integer value) {
            addCriterion("truck_type =", value, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeNotEqualTo(Integer value) {
            addCriterion("truck_type <>", value, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeGreaterThan(Integer value) {
            addCriterion("truck_type >", value, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("truck_type >=", value, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeLessThan(Integer value) {
            addCriterion("truck_type <", value, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeLessThanOrEqualTo(Integer value) {
            addCriterion("truck_type <=", value, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeIn(List<Integer> values) {
            addCriterion("truck_type in", values, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeNotIn(List<Integer> values) {
            addCriterion("truck_type not in", values, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeBetween(Integer value1, Integer value2) {
            addCriterion("truck_type between", value1, value2, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("truck_type not between", value1, value2, "truckType");
            return (Criteria) this;
        }

        public Criteria andTruckLngIsNull() {
            addCriterion("truck_lng is null");
            return (Criteria) this;
        }

        public Criteria andTruckLngIsNotNull() {
            addCriterion("truck_lng is not null");
            return (Criteria) this;
        }

        public Criteria andTruckLngEqualTo(String value) {
            addCriterion("truck_lng =", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngNotEqualTo(String value) {
            addCriterion("truck_lng <>", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngGreaterThan(String value) {
            addCriterion("truck_lng >", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngGreaterThanOrEqualTo(String value) {
            addCriterion("truck_lng >=", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngLessThan(String value) {
            addCriterion("truck_lng <", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngLessThanOrEqualTo(String value) {
            addCriterion("truck_lng <=", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngLike(String value) {
            addCriterion("truck_lng like", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngNotLike(String value) {
            addCriterion("truck_lng not like", value, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngIn(List<String> values) {
            addCriterion("truck_lng in", values, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngNotIn(List<String> values) {
            addCriterion("truck_lng not in", values, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngBetween(String value1, String value2) {
            addCriterion("truck_lng between", value1, value2, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLngNotBetween(String value1, String value2) {
            addCriterion("truck_lng not between", value1, value2, "truckLng");
            return (Criteria) this;
        }

        public Criteria andTruckLatIsNull() {
            addCriterion("truck_lat is null");
            return (Criteria) this;
        }

        public Criteria andTruckLatIsNotNull() {
            addCriterion("truck_lat is not null");
            return (Criteria) this;
        }

        public Criteria andTruckLatEqualTo(String value) {
            addCriterion("truck_lat =", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatNotEqualTo(String value) {
            addCriterion("truck_lat <>", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatGreaterThan(String value) {
            addCriterion("truck_lat >", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatGreaterThanOrEqualTo(String value) {
            addCriterion("truck_lat >=", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatLessThan(String value) {
            addCriterion("truck_lat <", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatLessThanOrEqualTo(String value) {
            addCriterion("truck_lat <=", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatLike(String value) {
            addCriterion("truck_lat like", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatNotLike(String value) {
            addCriterion("truck_lat not like", value, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatIn(List<String> values) {
            addCriterion("truck_lat in", values, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatNotIn(List<String> values) {
            addCriterion("truck_lat not in", values, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatBetween(String value1, String value2) {
            addCriterion("truck_lat between", value1, value2, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckLatNotBetween(String value1, String value2) {
            addCriterion("truck_lat not between", value1, value2, "truckLat");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeIsNull() {
            addCriterion("truck_ins_time is null");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeIsNotNull() {
            addCriterion("truck_ins_time is not null");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeEqualTo(Date value) {
            addCriterion("truck_ins_time =", value, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeNotEqualTo(Date value) {
            addCriterion("truck_ins_time <>", value, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeGreaterThan(Date value) {
            addCriterion("truck_ins_time >", value, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("truck_ins_time >=", value, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeLessThan(Date value) {
            addCriterion("truck_ins_time <", value, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeLessThanOrEqualTo(Date value) {
            addCriterion("truck_ins_time <=", value, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeIn(List<Date> values) {
            addCriterion("truck_ins_time in", values, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeNotIn(List<Date> values) {
            addCriterion("truck_ins_time not in", values, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeBetween(Date value1, Date value2) {
            addCriterion("truck_ins_time between", value1, value2, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckInsTimeNotBetween(Date value1, Date value2) {
            addCriterion("truck_ins_time not between", value1, value2, "truckInsTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeIsNull() {
            addCriterion("truck_update_time is null");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeIsNotNull() {
            addCriterion("truck_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeEqualTo(Date value) {
            addCriterion("truck_update_time =", value, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeNotEqualTo(Date value) {
            addCriterion("truck_update_time <>", value, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeGreaterThan(Date value) {
            addCriterion("truck_update_time >", value, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("truck_update_time >=", value, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeLessThan(Date value) {
            addCriterion("truck_update_time <", value, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("truck_update_time <=", value, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeIn(List<Date> values) {
            addCriterion("truck_update_time in", values, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeNotIn(List<Date> values) {
            addCriterion("truck_update_time not in", values, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("truck_update_time between", value1, value2, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("truck_update_time not between", value1, value2, "truckUpdateTime");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteIsNull() {
            addCriterion("truck_is_delete is null");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteIsNotNull() {
            addCriterion("truck_is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteEqualTo(Integer value) {
            addCriterion("truck_is_delete =", value, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteNotEqualTo(Integer value) {
            addCriterion("truck_is_delete <>", value, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteGreaterThan(Integer value) {
            addCriterion("truck_is_delete >", value, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("truck_is_delete >=", value, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteLessThan(Integer value) {
            addCriterion("truck_is_delete <", value, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("truck_is_delete <=", value, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteIn(List<Integer> values) {
            addCriterion("truck_is_delete in", values, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteNotIn(List<Integer> values) {
            addCriterion("truck_is_delete not in", values, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("truck_is_delete between", value1, value2, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("truck_is_delete not between", value1, value2, "truckIsDelete");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortIsNull() {
            addCriterion("truck_is_short is null");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortIsNotNull() {
            addCriterion("truck_is_short is not null");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortEqualTo(Integer value) {
            addCriterion("truck_is_short =", value, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortNotEqualTo(Integer value) {
            addCriterion("truck_is_short <>", value, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortGreaterThan(Integer value) {
            addCriterion("truck_is_short >", value, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortGreaterThanOrEqualTo(Integer value) {
            addCriterion("truck_is_short >=", value, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortLessThan(Integer value) {
            addCriterion("truck_is_short <", value, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortLessThanOrEqualTo(Integer value) {
            addCriterion("truck_is_short <=", value, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortIn(List<Integer> values) {
            addCriterion("truck_is_short in", values, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortNotIn(List<Integer> values) {
            addCriterion("truck_is_short not in", values, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortBetween(Integer value1, Integer value2) {
            addCriterion("truck_is_short between", value1, value2, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckIsShortNotBetween(Integer value1, Integer value2) {
            addCriterion("truck_is_short not between", value1, value2, "truckIsShort");
            return (Criteria) this;
        }

        public Criteria andTruckDriverIsNull() {
            addCriterion("truck_driver is null");
            return (Criteria) this;
        }

        public Criteria andTruckDriverIsNotNull() {
            addCriterion("truck_driver is not null");
            return (Criteria) this;
        }

        public Criteria andTruckDriverEqualTo(Long value) {
            addCriterion("truck_driver =", value, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverNotEqualTo(Long value) {
            addCriterion("truck_driver <>", value, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverGreaterThan(Long value) {
            addCriterion("truck_driver >", value, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverGreaterThanOrEqualTo(Long value) {
            addCriterion("truck_driver >=", value, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverLessThan(Long value) {
            addCriterion("truck_driver <", value, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverLessThanOrEqualTo(Long value) {
            addCriterion("truck_driver <=", value, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverIn(List<Long> values) {
            addCriterion("truck_driver in", values, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverNotIn(List<Long> values) {
            addCriterion("truck_driver not in", values, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverBetween(Long value1, Long value2) {
            addCriterion("truck_driver between", value1, value2, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckDriverNotBetween(Long value1, Long value2) {
            addCriterion("truck_driver not between", value1, value2, "truckDriver");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyIsNull() {
            addCriterion("truck_is_company is null");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyIsNotNull() {
            addCriterion("truck_is_company is not null");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyEqualTo(Integer value) {
            addCriterion("truck_is_company =", value, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyNotEqualTo(Integer value) {
            addCriterion("truck_is_company <>", value, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyGreaterThan(Integer value) {
            addCriterion("truck_is_company >", value, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyGreaterThanOrEqualTo(Integer value) {
            addCriterion("truck_is_company >=", value, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyLessThan(Integer value) {
            addCriterion("truck_is_company <", value, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyLessThanOrEqualTo(Integer value) {
            addCriterion("truck_is_company <=", value, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyIn(List<Integer> values) {
            addCriterion("truck_is_company in", values, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyNotIn(List<Integer> values) {
            addCriterion("truck_is_company not in", values, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyBetween(Integer value1, Integer value2) {
            addCriterion("truck_is_company between", value1, value2, "truckIsCompany");
            return (Criteria) this;
        }

        public Criteria andTruckIsCompanyNotBetween(Integer value1, Integer value2) {
            addCriterion("truck_is_company not between", value1, value2, "truckIsCompany");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}